# Contribuitor: sick <sick@rape.lol>
# Maintainer: sick <sick@rape.lol>
pkgname=sprop
pkgver=0.1
pkgrel=0
pkgdesc="A simple X property utility"
url="https://tools.suckless.org/x/sprop"
arch="all"
license="MIT"
depends="libx11"
makedepends="$depends-dev"
subpackages="$pkgname-doc"
source="https://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	make PREFIX=/usr DESTDIR=$pkgdir \
	install || return 1
}

sha512sums="74f918b2bbf627e269a674cabd8c4c26192ba67a7240061c0f0f6ddc8e86c32aff83352f2b2f4a2c6b2fcf7245cb1293ae98a2e7bd6189d632e20aa603764ddb  sprop-0.1.tar.gz"
